package com.hunau.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hunau.common.annotation.Excel;
import com.hunau.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 能源数据采集对象 tb_energy
 * 
 * @author ruoyi
 * @date 2020-03-17
 */
public class TbEnergy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;
    /**地址**/
    private Integer addr;
    /** 终端编号 */
    @Excel(name = "终端编号")
    private String imei;

    /** 电池1电压 */
    @Excel(name = "电池1电压")
    private Double pow1;

    /** 电池组电压 */
    @Excel(name = "电池组电压")
    private Double grouppow;

    /** 18V1输出电压 */
    @Excel(name = "18V1输出电压")
    private Double vol18v1;

    /** 18V2输出电压 */
    @Excel(name = "18V2输出电压")
    private Double vol18v2;

    /** 24V输出电压 */
    @Excel(name = "24V输出电压")
    private Double vol24;

    /** 28V输出电压 */
    @Excel(name = "28V输出电压")
    private Double vol28;

    /** 外部电源电压 */
    @Excel(name = "外部电源电压")
    private Double extendpow;

    /** 太阳能电压 */
    @Excel(name = "太阳能电压")
    private Double solarpow;

    /** 工作温度 */
    //@Excel(name = "工作温度")
    private Double operatingTemp;

    /** 充电状况 */
    @Excel(name = "充电状况")
    private String charge;

    /** 工作状况 */
    @Excel(name = "工作状况")
    private Integer work;

    /** 采集时间 */
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date colltime;
    private String beginColltime;
    private String endColltime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAddr() {
        return addr;
    }

    public void setAddr(Integer addr) {
        this.addr = addr;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Double getPow1() {
        return pow1;
    }

    public void setPow1(Double pow1) {
        this.pow1 = pow1;
    }

    public Double getGrouppow() {
        return grouppow;
    }

    public void setGrouppow(Double grouppow) {
        this.grouppow = grouppow;
    }

    public Double getVol18v1() {
        return vol18v1;
    }

    public void setVol18v1(Double vol18v1) {
        this.vol18v1 = vol18v1;
    }

    public Double getVol18v2() {
        return vol18v2;
    }

    public void setVol18v2(Double vol18v2) {
        this.vol18v2 = vol18v2;
    }

    public Double getVol24() {
        return vol24;
    }

    public void setVol24(Double vol24) {
        this.vol24 = vol24;
    }

    public Double getVol28() {
        return vol28;
    }

    public void setVol28(Double vol28) {
        this.vol28 = vol28;
    }

    public Double getExtendpow() {
        return extendpow;
    }

    public void setExtendpow(Double extendpow) {
        this.extendpow = extendpow;
    }

    public Double getSolarpow() {
        return solarpow;
    }

    public void setSolarpow(Double solarpow) {
        this.solarpow = solarpow;
    }

    public Double getOperatingTemp() {
        return operatingTemp;
    }

    public void setOperatingTemp(Double operatingTemp) {
        this.operatingTemp = operatingTemp;
    }

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public Integer getWork() {
        return work;
    }

    public void setWork(Integer work) {
        this.work = work;
    }

    public Date getColltime() {
        return colltime;
    }

    public void setColltime(Date colltime) {
        this.colltime = colltime;
    }

    public String getBeginColltime() {
        return beginColltime;
    }

    public void setBeginColltime(String beginColltime) {
        this.beginColltime = beginColltime;
    }

    public String getEndColltime() {
        return endColltime;
    }

    public void setEndColltime(String endColltime) {
        this.endColltime = endColltime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imei", getImei())
            .append("pow1", getPow1())
            .append("grouppow", getGrouppow())
            .append("vol18v1", getVol18v1())
            .append("vol18v2", getVol18v2())
            .append("vol24", getVol24())
            .append("vol28", getVol28())
            .append("extendpow", getExtendpow())
            .append("solarpow", getSolarpow())
            .append("operatingTemp", getOperatingTemp())
            .append("charge", getCharge())
            .append("work", getWork())
            .append("colltime", getColltime())
            .toString();
    }
}
